package com.yonyou.pmclouds.completedcatalog.rmiitf;

import com.yonyou.pmclouds.basecom.entity.PageObject;
import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.completedcatalog.entity.CompletedCatalogVO;

import java.util.List;

/**
 * 竣工档案数据查询接口
 *
 * @author yzx
 */
public interface CompletedCatalogQuery {

    CompletedCatalogVO getById(String id) throws BusinessException;

    PageObject search(String condition, Integer start, Integer size) throws BusinessException;

    List<CompletedCatalogVO> queryBypkTenantId(String pkTenantId) throws BusinessException;

    /**
     * 根据目录主键判断是否被引用
     *
     * @param pkCompletedCatalog
     * @return boolean
     * @author yzx
     * @date 2018/6/25 11:09
     */
    boolean isExistRef(String pkCompletedCatalog) throws BusinessException;
}
